package cn.bouncyslime.graduationProject.nba.dto;

import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 球员基本信息
 * @author 张一卓
 * @date 2020/4/1 0:49
 **/
public class PlayerInfoDto {
    /**
     * 球员Id
     */
    private Integer playerId;
    private String playerEName;
    private String playerCName;
    private String playerRole;
    /**
     * 身高，公制，m
     */
    private BigDecimal heightMetric;
    /**
     * 身高，英制，英尺英寸
     */
    private String heightBritish;

    /**
     * 体重，千克
     */
    private Integer weightKilogram;
    /**
     * 体重，磅
     */
    private Integer weightPound;
    @DateTimeFormat(pattern = "yyyy年MM月dd日")
    private Date birthday;
    private String birthplace;
    /**
     * 高中
     */
    private String seniorHighSchool;
    /**
     * 大学
     */
    private String university;
    /**
     * 球衣号码
     */
    private String uniformNumber;
    /**
     * 选秀情况
     */
    private String draft;
    /**
     * 薪水
     */
    private Integer salary;

    public PlayerInfoDto() {}

    public Integer getPlayerId() {
        return playerId;
    }

    public void setPlayerId(Integer playerId) {
        this.playerId = playerId;
    }

    public String getPlayerEName() {
        return playerEName;
    }

    public void setPlayerEName(String playerEName) {
        this.playerEName = playerEName;
    }

    public String getPlayerCName() {
        return playerCName;
    }

    public void setPlayerCName(String playerCName) {
        this.playerCName = playerCName;
    }

    public String getPlayerRole() {
        return playerRole;
    }

    public void setPlayerRole(String playerRole) {
        this.playerRole = playerRole;
    }

    public BigDecimal getHeightMetric() {
        return heightMetric;
    }

    public void setHeightMetric(BigDecimal heightMetric) {
        this.heightMetric = heightMetric;
    }

    public String getHeightBritish() {
        return heightBritish;
    }

    public void setHeightBritish(String heightBritish) {
        this.heightBritish = heightBritish;
    }

    public Integer getWeightKilogram() {
        return weightKilogram;
    }

    public void setWeightKilogram(Integer weightKilogram) {
        this.weightKilogram = weightKilogram;
    }

    public Integer getWeightPound() {
        return weightPound;
    }

    public void setWeightPound(Integer weightPound) {
        this.weightPound = weightPound;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getBirthplace() {
        return birthplace;
    }

    public void setBirthplace(String birthplace) {
        this.birthplace = birthplace;
    }

    public String getSeniorHighSchool() {
        return seniorHighSchool;
    }

    public void setSeniorHighSchool(String seniorHighSchool) {
        this.seniorHighSchool = seniorHighSchool;
    }

    public String getUniversity() {
        return university;
    }

    public void setUniversity(String university) {
        this.university = university;
    }

    public String getUniformNumber() {
        return uniformNumber;
    }

    public void setUniformNumber(String uniformNumber) {
        this.uniformNumber = uniformNumber;
    }

    public String getDraft() {
        return draft;
    }

    public void setDraft(String draft) {
        this.draft = draft;
    }

    public Integer getSalary() {
        return salary;
    }

    public void setSalary(Integer salary) {
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "PlayInfoDto{" +
                "playerId=" + playerId +
                ", playerEName='" + playerEName + '\'' +
                ", playerCName='" + playerCName + '\'' +
                ", playerRole='" + playerRole + '\'' +
                ", heightMertric=" + heightMetric +
                ", heightBritis='" + heightBritish + '\'' +
                ", weightKilogram='" + weightKilogram + '\'' +
                ", weightPound='" + weightPound + '\'' +
                ", birthDay=" + birthday +
                ", birthplace='" + birthplace + '\'' +
                ", seniorHighSchool='" + seniorHighSchool + '\'' +
                ", university='" + university + '\'' +
                ", uniformNumber='" + uniformNumber + '\'' +
                ", draft='" + draft + '\'' +
                ", salary=" + salary +
                '}';
    }
}
